//
//  LoopViewFlowLayout.m
//  testdemo
//
//  Created by zhoubo on 17/3/15.
//  Copyright © 2017年 zhoubo. All rights reserved.
//

#import "LoopViewFlowLayout.h"

@implementation LoopViewFlowLayout

-(void)prepareLayout
{
    self.itemSize = self.collectionView.bounds.size;
    // 设置item之间的间隙
    self.minimumInteritemSpacing = 0;
    self.minimumLineSpacing = 0;
    
    self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
    
    self.collectionView.pagingEnabled = YES;
    
    self.collectionView.showsHorizontalScrollIndicator = NO;
}





@end
